Skip to content

Conversation

@SaiSankar1309
Copy link
Contributor

PR Description: Business rule to validate CI on deployed assets.

Pull Request Checklist

Overview

  • I have read and understood the CONTRIBUTING.md guidelines
  • My pull request has a descriptive title that accurately reflects the changes
  • I've included only files relevant to the changes described in the PR title and description
  • I've created a new branch(named branch2025) in my forked repository for this contribution

Code Quality

  • My code is relevant to ServiceNow developers
  • My code snippets expand meaningfully on official ServiceNow documentation (if applicable)
  • I've tested my code snippets in a ServiceNow PDI

Repository Structure Compliance

  • I've placed my code snippet(s) in one of the required top-level categories:

    • Server-Side Components/Business Rules'/Validate CI on deployed assets

Documentation

  • I've included a README.md file for each code snippet
  • The README.md includes:
    • Description of the code snippet functionality
    • Usage instructions or examples
    • Any prerequisites or dependencies

Restrictions

  • My PR does not include XML exports of ServiceNow records
  • My PR does not contain sensitive information (passwords, API keys, tokens)
  • My PR does not include changes that fall outside the described scope

For any inactive user , remove all the roles associated with that user.
Remove all the roles for inactive users
When a user in an instance is inactive, it's a good practice to remove all roles assigned to that user.
When a user in an instance is inactive, it's a good practice to remove all roles assigned to that user.
Remove all roles from an inactive user
Detailed steps to setup the business rule : Validate CI on deployed assets
Business rule script to validate CI on deployed assets and send an email notification to user's manager if the asset is not linked to a CI.
@SaiSankar1309
Copy link
Contributor Author

Business rule : Validate CI on deployed assets

@kmohit2809 kmohit2809 self-assigned this Oct 2, 2025
@ravichandra1998g
Copy link
Contributor

Hello @SaiSankar1309,
Thank you for submitting!
Please add a descriptive title for this Pull Request.

Copy link
Contributor

@ravichandra1998g ravichandra1998g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @SaiSankar1309
Thanks for your submission. It appears that this pull request contains more files than described in the title. Please review and update the pull request to either remove the extra/unintended files or to update the description to be more comprehensive. Ensure your contributions are meaningful and adhere to the project’s standards. [If applicable: You can create a new branch on your forked repository to avoid accidental inclusions of new commits in the future.]. Closing this for now. Once you make additional changes, feel free to re-open this Pull Request or create a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants